package com.wsoft.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Author z001
 * @Date 2024/11/26 08:40
 */
@Data
public class LogVO {
    @Schema(description = "接口地址")
    private String url;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "ip地址")
    private String ip;

    @Schema(description = "方法路径")
    private String method;

    @Schema(description = "日志类型(操作日志，业务日志)")
    private String type;

    @Schema(description = "用户账号")
    private String userId;

    @Schema(description = "接口描述")
    private String remark;

    @Schema(description = "出口参数json")
    private String paramsJson;

    @Schema(description = "执行结果json")
    private String resultJson;

    @Schema(description = "接口执行时间")
    private Long runtime;

    @Schema(description = "操作组织id")
    private Long orgId;

    @Schema(description = "是否异常")
    private Integer isException;

    @Schema(description = "异常信息")
    private String exceptionInfo;

    @Schema(description = "操作时间")
    private String createTime;

    @Schema(description = "get/post")
    private String methodType;
}
